<script src="https://cdn.jsdelivr.net/npm/axios@0.27.2/dist/axios.min.js"></script>
<script>
    console.log(1)
    if (true) {
        console.log(2);
    } else {
        console.log(3);
    }
    setTimeout(() => {
        console.log(4);
    }, 10)
    for (let i = 0; i < 3; i++) {
        console.log(6);
    }   
    const fn = () => {
        console.log(5);
    }
    fn()
    document.addEventListener('click', () => {
        console.log(8);
    })
    
    
    console.log(7);
    axios({
        url: 'http://ajax-api.itheima.net/api/province',
        method: 'GET'
    }).then(() => {
        console.log(9);
    })
    console.log(10);
</script>